<?php
/**
 * Created by Dumitru Russu
 * User: developer
 * Date: 11/12/12
 * Time: 2:54 PM
 * To change this template use File | Settings | File Templates.
 */
class Page_Fe_Products_Shipping extends Page {
	function __construct() {
		parent::__construct();
	}

	public function defaultAction() {
		self::$TPL->appendCssFile('wedding/shipping');
		$getDeliveryMethods = Db_Locale_ProjectCountriesDeliveryMethods::getCountryDeliveryMethodsByProjectId(self::$PROJECT['id']);
		self::$TPL->assign('getDeliveryMethods', $getDeliveryMethods);

		$projectPaymentMethods = Db_Payments_ProjectsPaymentMethods::getProjectPaymentMethodsByProjectId(self::$PROJECT['id']);
		self::$TPL->assign('projectPaymentMethods', $projectPaymentMethods);

		self::$TPL->assign('settings', self::$SETTINGS);

		self::$TPL->setBodyTemplate('show_shipping_pop_up');
		return array(
			'type' => 'display'
		);
	}

}
